package com.alquimia.identityaccess.application.events.user;

import com.alquimia.identityaccess.application.events.UpdateEvent;

/**
 * Created by Ivo on 16/07/2014.
 */
public class UpdateUserPasswordEvent extends UpdateEvent {

    private String userId;
    private String currentPassword;
    private String changedPassword;

    public UpdateUserPasswordEvent(String aUserId, String aCurrentPassword, String aChangedPassword) {
        this();

        setUserId(aUserId);
        setCurrentPassword(aCurrentPassword);
        setChangedPassword(aChangedPassword);
    }

    public UpdateUserPasswordEvent(){
        super();
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(final String aUserId) {
        userId = aUserId;
    }

    public String getCurrentPassword() {
        return currentPassword;
    }

    public void setCurrentPassword(final String aCurrentPassword) {
        currentPassword = aCurrentPassword;
    }

    public String getChangedPassword() {
        return changedPassword;
    }

    public void setChangedPassword(final String aChangedPassword) {
        changedPassword = aChangedPassword;
    }


}
